package org.mics.core.model;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 当前用户
 * @author mics
 * @date 2020年5月22日
 * @version  1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CurrentUser implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户主键ID
     */
    private String id;

    /**
     * 账号
     */
    private String account;

    /**
     * token
     */
    private String token;
    
	public CurrentUser(String userId, String account,String token) {
		this.id = userId;
		this.account = account;
		this.token=token;
	}

}
